
export default  function parsePlatform(link){
    let platforms = [
        'douyin',
        'kuaishou',
        'xhs',
        'xigua',
        'toutiao',
        'bilibili',
        'haokan',
        'huya',
        'zhihu',
        'pipix',
        'kg',
        'weibo',
        'acfun',
        'zuiyou',
        'weishi'
    ]
    if(link.includes('xiaochuankeji.cn')){
        return 'zuiyou'
    }
    if(link.includes('b23.tv')){
        return 'bilibili'
    }
    return platforms.find(item=>link.includes(item))

}
